package com.echat.elocation.base;

import android.app.Application;
import android.content.Context;

/**
 *
 * @author lihao
 *
 * @date 2018/7/11 9:44
 */
public class BaseApplication extends Application {

    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
        CrashHandler.getInstance().init(this);
    }

    public static Context getContext() {
        return mContext;
    }
}
